package com.xinxin.leetcode.problem374;

/**
 * @author ShiXinXin
 * @date 2019-12-15 3:16
 */
public class GuessGame {
    private Integer pick = 1;

    protected int guess(int num) {
        if (num > pick) {
            return -1;
        } else if (num == pick) {
            return 0;
        } else {
            return 1;
        }
    }
}
